<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
        <html><head>
        <link rel="stylesheet" type="text/css" href="apidocs.css"/>
        <title>API docs for &ldquo;sympy.statistics.distributions.ContinuousProbability&rdquo;</title>
        </head>
        <body><h1 class="class">Class s.s.d.ContinuousProbability:</h1><span id="part">Part of <a href="sympy.statistics.distributions.html">sympy.statistics.distributions</a></span><p>known subclasses: <a href="sympy.statistics.distributions.Normal.html">sympy.statistics.distributions.Normal</a>, <a href="sympy.statistics.distributions.Uniform.html">sympy.statistics.distributions.Uniform</a></p><div class="toplevel"><div><p>Base class for continuous probability distributions</p>
</div></div><table class="children"><tr class="function"><td>Function</td><td><a href="#sympy.statistics.distributions.ContinuousProbability.probability">probability</a></td><td><div><p>Calculate the probability that a random number x generated</p>
</div></td></tr><tr class="function"><td>Function</td><td><a href="#sympy.statistics.distributions.ContinuousProbability.random">random</a></td><td><div><p>random() -- generate a random number from the distribution.</p>
</div></td></tr></table>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.statistics.distributions.ContinuousProbability.probability">probability(s, a, b):</a></div>
            <div class="functionBody"><div><p>Calculate the probability that a random number x generated from the 
distribution satisfies a &lt;= x &lt;= b</p>
</div></div>
            </div>
            <div class="function">
            <div class="functionHeader">def <a name="sympy.statistics.distributions.ContinuousProbability.random">random(s, n=None):</a></div>
            <div class="functionBody"><div><p>random() -- generate a random number from the distribution. random(n) --
generate a Sample of n random numbers.</p>
</div></div>
            </div></body>
        